-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update of nRF Connect SDK version to the 2.9.0 #37105
Merged
Merged
+550
−165
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a575f91
to
efebc1b
Compare
PR #37105: Size comparison from 4fd7215 to 56e985f Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #37105: Size comparison from 4fd7215 to 2c1f3e7 Full report (48 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, psoc6, qpg, stm32, telink, tizen)
|
2c1f3e7
to
dc2ccf2
Compare
PR #37105: Size comparison from 593861d to dc2ccf2 Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #37105: Size comparison from 593861d to 0754d4f Full report (63 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, psoc6, qpg, stm32, telink, tizen)
|
0754d4f
to
4232d17
Compare
PR #37105: Size comparison from b02badf to 4232d17 Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
4232d17
to
d40d1bc
Compare
PR #37105: Size comparison from e6e9614 to d40d1bc Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
d40d1bc
to
dc586d1
Compare
PR #37105: Size comparison from 36f81cd to dc586d1 Increases above 0.2%:
Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
dc586d1
to
3725da5
Compare
314d776
to
8a673f6
Compare
Added a possibility to use ZMS fs backend in Zephyr. NVS fs backend imply is now controlled by the nrfconnect platform configuration directly. All other platforms use NVS fs backend by default. Signed-off-by: Arkadiusz Balys <[email protected]> [nrf toup] Fix defines for ZMS It can be squashed with the 0c49058 commit. Signed-off-by: Arkadiusz Balys <[email protected]>
According to specification, if ICD LIT is supported, UAT and LITS features must be supported too. If `CHIP_ICD_LIT_SUPPORT` is selected, select CIP and UAT configs instead of implying them. Signed-off-by: Maciej Baczmanski <[email protected]>
Introduced new Kconfig options to be able to configure the parameters related to persistent subscriptions re-establishment. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Added module to synchronize DFU processes Introduced a module that can be used to synchronize DFU processes and make it mutual exclusive (prevent concurrent DFU runs using different protocols, e.g Matter OTA and DFU over BT SMP). Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Implement IPv6 agnostic L2 network state getters * Added new API for generic IPv6 connectivity checks * This patch allows the application layer to limit the amount of pre-processor logic (CONFIG_NET_L2_OPENTHREAD/CONFIG_CHIP_WIFI) needed to configure the Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Added support for settings shell in mem profiling Enabled settings shell configuration and increased shell command buffer size when `CHIP_MEMORY_PROFILING` is enabled to allow reading and writing settings using shell. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Introduced Kconfig to configure CHIP stack size There is not Kconfig that would allow to set the CHIP task size, what is not convenient, as other stacks can be configured using Kconfig. [nrfconnect] Added log for the WiFi connection failure This might help when debugging the WiFi connection failures. Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Refactor ExternalFlashManager Make `ExternalFlashManager` a singleton Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Increase workqueue stack size for LIT Whien LIT is enabled, higher workqueue stack size is required when entering active mode. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Switch to nRF54L15 DK - Removed support for nRF54L15 PDK and added for nRF54L15 DK [nrfconnect] wifi: Migrate to nRF70 upstream nRF70 support moved upstream, update the names. Signed-off-by: Chaitanya Tata <[email protected]> [nrfconnect] matter: crypto: Use psa_crypto_config -Previously there was a library called mbedcrypto_common which was used to pass build-related configurations to matter. This is changed to instead reference to the following: -psa_crypto_config (for PSA and Mbed TLS configurations) -psa_interface (for PSA crypto include files) -The commit also removes passing the PSA crypto driver config file as this is no longer needed for an interface build (call from matter) Signed-off-by: Frank Audun Kvamtrø <[email protected]> [nrfconnect] Fixed mbedtls configs selection The updated way of handling mbedtls config file is done correctly only for TF-M builds, but without it some of the files are missing Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Disable unsupported SHELL_WILDCARD SHELL_WILDCARD is not supported for Matter devices in the newest Zephyr version because it selects POSIX_C_LIB_EXT, so we need to disable it. [nrfconnect] Enable SPI for nRF54L15DK NS build Added nRF54L15 DK NS to configuration. Signed-off-by: Arkadiusz Balys <[email protected]> [nrfconnect] config: align the MCUmgr Bluetooth transport Kconfig Aligned the MCUmgr Bluetooth transport Kconfig with the latest changes from Zephyr. Ref: NCSDK-29061 Signed-off-by: Kamil Piszczek <[email protected]> [nrfconnect] Enable MLDv2 join procedure for IPv6 Multicasts This commit updates the IPv6 multicast subscription mechanism by explicitly using the MLDv2 join procedure. This change ensures proper registration for multicast addresses, improving reliability in multicast communication. Signed-off-by: Łukasz Duda <[email protected]> [nrfconnect] Implicitly enable PSA crypto driver for given platform This commit makes in clear which crypto driver is enabled by default. Additionally, stack overflow has been fixed for CC3XX variant, and mbedTLS Heap is disabled for TF-M variant. Signed-off-by: Łukasz Duda <[email protected]> [nrfconnect] wifi: Fix nRF70 heap allocation The upstream WPA supplicant uses k_heap instead of libc_heap, so, move the heap to k_heap. Signed-off-by: Chaitanya Tata <[email protected]> [nrfconnect] wifi: Fix the heap allocation warning By default nRF70 driver allocates a higher heap to handle most cases, but as Matter doesn't use much heap, enable the ignore minimum warning configuration. Signed-off-by: Chaitanya Tata <[email protected]> [nrfconnect] Increased stack size for the OpenThread with nRF54L When using nRF54L15 the stack size required for crypto operations by OpenThread is bigger and must be increased. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Enable ZMS in nrfconnect if RRAM is in use. Disabled NVS and enabled ZMS fs backend for all devices that uses RRAM. Signed-off-by: Arkadiusz Balys <[email protected]> [nrfconnect] Increased CHIP stack size for cracen based targets Targets using cracen crypto backend requires bigger CHIP stack size. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] disable `FPROTECT` for nRF54L15 `FPROTECT` should be disabled for nRF54L15 in app to allow correctly protecting whole region of mcuboot Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Factory data partition location change - factory data can be placed before or after settings partition Signed-off-by: Konrad Grucel <[email protected]> [nrfconnect] Added config to enable report on active mode Introduced Kconfig option that allows to enable an ICD to send data report on entering the active mode. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Increased system workqueue size for LIT The LIT devices seem to need bigger size of workqueue on 54L. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Change `CHIP_SPI_NOR` config dependency Set `CHIP_SPI_NOR` to y for all targets that are built for nRF54L15DK, regardless of target SoC. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Disable chip_build_tools Disable chip_build_tools Signed-off-by: Adrian Gielniewski <[email protected]>
If the CHIP_CRYPTO_PSA_SPAKE2P is enabled the build system should not compile Legacy Spake2p implementation, because the PSA one is available in the PSASpake2p.cpp file.
1. Add the configuration to enable logging the location of a failed VerifyOrDie() without logging the condition to reduce the code size impact but still be able to debug failing VerifyOrDie() conditions. 2. Allow to override __FILE__ macro with __FILE_NAME__ by setting the warn_builtin_macro_redefined GN arg to false to further reduce the code size increase. 3. Add Kconfigs for nRF Connect platform for enabling both features. Signed-off-by: Damian Krolik <[email protected]>
When a Matter application provides the VERSION file, the Matter software version string is set to 4-number string, such as "2.7.99+0" and the EXTRAVERSION field, which is typically used to denote the branch or tag name, such as "dev" or "rc1", is ignored. If the EXTRAVERSION field is non-empty, set the Matter software version string to a string such as "2.7.99-dev+0".
Dataset has to be cleared to allow commissioning to different network when CONFIG_CHIP_LAST_FABRIC_REMOVED_ERASE_ONLY is used. Signed-off-by: Adrian Gielniewski <[email protected]>
Update docker image version to 98. Signed-off-by: Adrian Gielniewski <[email protected]>
Change the recommended version of nRF Connected SDK to 2.9.0. Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Disable some logs in lighting-app and lock-app due to flash overflow. Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Use correct path when running ctest. Signed-off-by: Adrian Gielniewski <[email protected]>
Disable Zephyr native build until next release due to Zephyr regression. Signed-off-by: Adrian Gielniewski <[email protected]>
8a673f6
to
623e3a5
Compare
andy31415
approved these changes
Jan 29, 2025
andy31415
added a commit
to andy31415/connectedhomeip
that referenced
this pull request
Jan 29, 2025
…make nrf build
andy31415
added a commit
that referenced
this pull request
Jan 29, 2025
Loading
Loading status checks…
…ld (#37299)
pimpalemahesh
pushed a commit
to pimpalemahesh/connectedhomeip
that referenced
this pull request
Feb 12, 2025
* [Zephyr] Add ZMS to Zephyr port Added a possibility to use ZMS fs backend in Zephyr. NVS fs backend imply is now controlled by the nrfconnect platform configuration directly. All other platforms use NVS fs backend by default. Signed-off-by: Arkadiusz Balys <[email protected]> [nrf toup] Fix defines for ZMS It can be squashed with the 0c49058 commit. Signed-off-by: Arkadiusz Balys <[email protected]> * [Zephyr] Fix ICD LIT connected configurations According to specification, if ICD LIT is supported, UAT and LITS features must be supported too. If `CHIP_ICD_LIT_SUPPORT` is selected, select CIP and UAT configs instead of implying them. Signed-off-by: Maciej Baczmanski <[email protected]> * [nrfconnect] Introduced Kconfigs to configure few params Introduced new Kconfig options to be able to configure the parameters related to persistent subscriptions re-establishment. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Added module to synchronize DFU processes Introduced a module that can be used to synchronize DFU processes and make it mutual exclusive (prevent concurrent DFU runs using different protocols, e.g Matter OTA and DFU over BT SMP). Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Implement IPv6 agnostic L2 network state getters * Added new API for generic IPv6 connectivity checks * This patch allows the application layer to limit the amount of pre-processor logic (CONFIG_NET_L2_OPENTHREAD/CONFIG_CHIP_WIFI) needed to configure the Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Added support for settings shell in mem profiling Enabled settings shell configuration and increased shell command buffer size when `CHIP_MEMORY_PROFILING` is enabled to allow reading and writing settings using shell. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Introduced Kconfig to configure CHIP stack size There is not Kconfig that would allow to set the CHIP task size, what is not convenient, as other stacks can be configured using Kconfig. [nrfconnect] Added log for the WiFi connection failure This might help when debugging the WiFi connection failures. Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Refactor ExternalFlashManager Make `ExternalFlashManager` a singleton Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Increase workqueue stack size for LIT Whien LIT is enabled, higher workqueue stack size is required when entering active mode. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Switch to nRF54L15 DK - Removed support for nRF54L15 PDK and added for nRF54L15 DK [nrfconnect] wifi: Migrate to nRF70 upstream nRF70 support moved upstream, update the names. Signed-off-by: Chaitanya Tata <[email protected]> [nrfconnect] matter: crypto: Use psa_crypto_config -Previously there was a library called mbedcrypto_common which was used to pass build-related configurations to matter. This is changed to instead reference to the following: -psa_crypto_config (for PSA and Mbed TLS configurations) -psa_interface (for PSA crypto include files) -The commit also removes passing the PSA crypto driver config file as this is no longer needed for an interface build (call from matter) Signed-off-by: Frank Audun Kvamtrø <[email protected]> [nrfconnect] Fixed mbedtls configs selection The updated way of handling mbedtls config file is done correctly only for TF-M builds, but without it some of the files are missing Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Disable unsupported SHELL_WILDCARD SHELL_WILDCARD is not supported for Matter devices in the newest Zephyr version because it selects POSIX_C_LIB_EXT, so we need to disable it. [nrfconnect] Enable SPI for nRF54L15DK NS build Added nRF54L15 DK NS to configuration. Signed-off-by: Arkadiusz Balys <[email protected]> [nrfconnect] config: align the MCUmgr Bluetooth transport Kconfig Aligned the MCUmgr Bluetooth transport Kconfig with the latest changes from Zephyr. Ref: NCSDK-29061 Signed-off-by: Kamil Piszczek <[email protected]> [nrfconnect] Enable MLDv2 join procedure for IPv6 Multicasts This commit updates the IPv6 multicast subscription mechanism by explicitly using the MLDv2 join procedure. This change ensures proper registration for multicast addresses, improving reliability in multicast communication. Signed-off-by: Łukasz Duda <[email protected]> [nrfconnect] Implicitly enable PSA crypto driver for given platform This commit makes in clear which crypto driver is enabled by default. Additionally, stack overflow has been fixed for CC3XX variant, and mbedTLS Heap is disabled for TF-M variant. Signed-off-by: Łukasz Duda <[email protected]> [nrfconnect] wifi: Fix nRF70 heap allocation The upstream WPA supplicant uses k_heap instead of libc_heap, so, move the heap to k_heap. Signed-off-by: Chaitanya Tata <[email protected]> [nrfconnect] wifi: Fix the heap allocation warning By default nRF70 driver allocates a higher heap to handle most cases, but as Matter doesn't use much heap, enable the ignore minimum warning configuration. Signed-off-by: Chaitanya Tata <[email protected]> [nrfconnect] Increased stack size for the OpenThread with nRF54L When using nRF54L15 the stack size required for crypto operations by OpenThread is bigger and must be increased. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Enable ZMS in nrfconnect if RRAM is in use. Disabled NVS and enabled ZMS fs backend for all devices that uses RRAM. Signed-off-by: Arkadiusz Balys <[email protected]> [nrfconnect] Increased CHIP stack size for cracen based targets Targets using cracen crypto backend requires bigger CHIP stack size. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] disable `FPROTECT` for nRF54L15 `FPROTECT` should be disabled for nRF54L15 in app to allow correctly protecting whole region of mcuboot Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Factory data partition location change - factory data can be placed before or after settings partition Signed-off-by: Konrad Grucel <[email protected]> [nrfconnect] Added config to enable report on active mode Introduced Kconfig option that allows to enable an ICD to send data report on entering the active mode. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Increased system workqueue size for LIT The LIT devices seem to need bigger size of workqueue on 54L. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Change `CHIP_SPI_NOR` config dependency Set `CHIP_SPI_NOR` to y for all targets that are built for nRF54L15DK, regardless of target SoC. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Disable chip_build_tools Disable chip_build_tools Signed-off-by: Adrian Gielniewski <[email protected]> * [Crypto] Stop compiling legacy SPAKE2P if PSA is available If the CHIP_CRYPTO_PSA_SPAKE2P is enabled the build system should not compile Legacy Spake2p implementation, because the PSA one is available in the PSASpake2p.cpp file. * VerifyOrDie logging for constrained devices 1. Add the configuration to enable logging the location of a failed VerifyOrDie() without logging the condition to reduce the code size impact but still be able to debug failing VerifyOrDie() conditions. 2. Allow to override __FILE__ macro with __FILE_NAME__ by setting the warn_builtin_macro_redefined GN arg to false to further reduce the code size increase. 3. Add Kconfigs for nRF Connect platform for enabling both features. Signed-off-by: Damian Krolik <[email protected]> * Include EXTRAVERSION in Matter software version string When a Matter application provides the VERSION file, the Matter software version string is set to 4-number string, such as "2.7.99+0" and the EXTRAVERSION field, which is typically used to denote the branch or tag name, such as "dev" or "rc1", is ignored. If the EXTRAVERSION field is non-empty, set the Matter software version string to a string such as "2.7.99-dev+0". * Clear Thread Network after last fabric is removed Dataset has to be cleared to allow commissioning to different network when CONFIG_CHIP_LAST_FABRIC_REMOVED_ERASE_ONLY is used. Signed-off-by: Adrian Gielniewski <[email protected]> * [workflows] Update docker images to version 98 Update docker image version to 98. Signed-off-by: Adrian Gielniewski <[email protected]> * [nrfconnect] Change the recommended version to 2.9.0 Change the recommended version of nRF Connected SDK to 2.9.0. Signed-off-by: Adrian Gielniewski <[email protected]> * [nrfconnect] Align examples to NCS 2.9.0 Signed-off-by: Adrian Gielniewski <[email protected]> * [nrfconnect] Fix FLASH overflow Disable some logs in lighting-app and lock-app due to flash overflow. Signed-off-by: Adrian Gielniewski <[email protected]> * [nrfconnect] Align test_driver configuration to NCS 2.9.0 Signed-off-by: Adrian Gielniewski <[email protected]> * [nrfconnect] Fix nrf builder Use correct path when running ctest. Signed-off-by: Adrian Gielniewski <[email protected]> * [nrfconnect] Disable native build Disable Zephyr native build until next release due to Zephyr regression. Signed-off-by: Adrian Gielniewski <[email protected]> --------- Signed-off-by: Arkadiusz Balys <[email protected]> Signed-off-by: Maciej Baczmanski <[email protected]> Signed-off-by: Adrian Gielniewski <[email protected]> Signed-off-by: Damian Krolik <[email protected]> Co-authored-by: Arkadiusz Balys <[email protected]> Co-authored-by: Maciej Baczmanski <[email protected]> Co-authored-by: Kamil Kasperczyk <[email protected]> Co-authored-by: Damian Krolik <[email protected]>
pimpalemahesh
pushed a commit
to pimpalemahesh/connectedhomeip
that referenced
this pull request
Feb 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
config
core
crypto
documentation
Improvements or additions to documentation
examples
github
gn
lib
nrf connect
platform
review - approved
scripts
support
test driver
workflows
zephyr
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Testing
Tested by existing automated tests.